# from typing import Any
# from datetime import datetime

# from sqlalchemy import Column, Integer, DateTime
# from sqlalchemy.ext.declarative import as_declarative, declared_attr

# @as_declarative()
# class Base:
#     id: Any
#     create_time = Column(DateTime, default=datetime.now, onupdate=datetime.now)
#     update_time = Column(DateTime, default=datetime.now, onupdate=datetime.now)
#     status = Column(Integer, default=1)  # 0为删除

#     def delete(self):
#         self.status = 0